import {defineStore} from "pinia";
import {ref} from "vue";

export const useServiceInstanceStore = defineStore('serviceInstance', () => {
    let serviceInstanceApplicationDataList = ref([]);
    let serviceInstanceApplicationSearchData = ref({});

    function resetServiceInstanceApplicationDataList(info) {
        serviceInstanceApplicationDataList.value = info
    }

    function resetServiceInstanceApplicationSearchData(info) {
        serviceInstanceApplicationSearchData.value = info
    }

    return { serviceInstanceApplicationDataList, resetServiceInstanceApplicationDataList, serviceInstanceApplicationSearchData, resetServiceInstanceApplicationSearchData }
})